Unify CopyButton + auto-confirm email when SMTP not configured#13
Closed
PawiX25 wants to merge 8 commits into
Closed
Unify CopyButton + auto-confirm email when SMTP not configured#13PawiX25 wants to merge 8 commits into
PawiX25 wants to merge 8 commits into
Conversation
- add the dashboard sessions screen and shared dashboard navigation - add backend session listing and revoke endpoints with public session IDs - persist and validate session state through Redis-backed tracking
- keep profile, sessions, and security factor UI in sync after successful actions - preserve modal contents until close animations finish across password, TOTP, passkey, PGP, and recovery codes flows - relax authenticated dashboard rate limiting and improve dashboard error messaging
- Extract SessionsSkeleton and update DashboardSkeleton (3 sections) - Replace useState clipboard pattern with useClipboard from @mantine/hooks - Split pgp.tsx into step components (challenge, quick-sign, signature) - Move parseUserAgent and timeAgo to lib/utils.ts - Move extract_client_ip to auth-core crate
- Create components/copy-button.tsx with useClipboard from @mantine/hooks - Remove duplicate PGP-specific copy-button.tsx - Re-export from dashboard helpers.tsx - Add compact prop for smaller variant (used in both PGP and dashboard) - Remove 'Verifying...' text from TOTP dialog to prevent layout shift - confirm_email changes included
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
CopyButton unification
components/copy-button.tsxusinguseClipboardfrom@mantine/hookscopy-button.tsxhelpers.tsxfor backwards compatibilitycompactprop for smaller variant (used in both PGP and dashboard)confirm_email: auto-confirm when SMTP not configured